<template>
    <mu-button
        color="primary"
        :disabled="btnStatus"
        @click="handleClick()"
    >{{ text }}</mu-button>
</template>

<script>
export default {
    name: "LoadingBtn",
    props: {
        text: {
            type: String,
            default: "Default",
        },
        btnStatus: {
            type: Boolean,
            default: false,
        },
    },
    data() {
        return {};
    },
    methods: {
        handleClick() {
            this.$emit("handleClick");
        },
    },
};
</script>

<style>
</style>